﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Manage/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<QianBuo.Lottery.Web.Areas.Manage.Models.User.ChageModel>" %>

<%@ Import Namespace="Code.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	修改用户类型
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<fieldset>
    <legend>修改用户类型</legend>
    <% Html.BeginForm(); %>
    <table class='table' width='100%'>
        <tr>
            <th>用户名</th><th>总金额</th><th>注册时间</th><th>类型</th>
        </tr>
        <% if (Model.User != null)
           {   %>
        <tr>
            <%=Html.HiddenFor(p=>p.ID) %>
            <td><%=Model.User.LoginName%></td>
            <td><%=Model.User.Money %></td>
            <td><%=Model.User.RegistTime %></td>
            <td><%=((UserType)Model.User.UserTye).GetName() %></td>
        </tr>
        <%} %>
        <% if (Model.Commands != null)
           { %>
            <tr>
                <td colspan='4'>当前用户的下级会员的新直属上级为<%=Html.DropDownListFor(p=>p.CommandID,Model.Commands,"默认") %>代理。注:默认代理为当前用户的直属上级</td>
            </tr>
            <tr><td colspan="4">
                <input type="submit" name="btn" value="更改" />
            </td></tr>
        <% } %>
    </table>
    <% Html.EndForm(); %>
    <a href='<%=Request["returnUrl"] %>' class='a_blue' >返回>></a>
</fieldset>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="StyleAndScript" runat="server">
</asp:Content>
